package com.dfbz.service.Impl;

import com.dfbz.Dao.StudentDao;
import com.dfbz.model.Student;
import com.dfbz.service.StudentService;

import java.util.List;

public class StudentServiceimpl implements StudentService {

    private StudentDao studentDao = new StudentDao();

    @Override
    public List<Student> findAll() {
        return studentDao.findAll();
    }

    @Override
    public void add(Student student) {
            studentDao.add();
    }

    @Override
    public void deleteById(String id) {
         studentDao.delete();
    }

    @Override
    public void update(Student student) {
       studentDao.update();
    }

    @Override
    public void addById(String id) {

    }
}
